<template>
  <div class="hello">

  </div>
</template>

<script>
export default {
  name: 'HelloWorld',
  components: {

  },
  data () {
    return {
      data: 'this message from child[1,2,3]',
      edit: ''
    }
  },
  methods: {
    add () {
      this.$store.commit('getUser', { height: 1.8 })
    },
    shopcar () {
      this.$store.commit('getStudent', { name: 'lisen' })
    }


  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
button {
  width: 100px;
  height: 20px;
  margin: 10px 0;
}
h3 {
  margin: 40px 0 0;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
a {
  color: #42b983;
}
</style>
